package com.guohengspace.mq.model.query;

import lombok.Data;

/**
 * 创建Topic参数
 */
//@Data
public class TopicSaveParam {

    /**
     * Topic名称
     */
    private String topic;

    /**
     * 实例id
     */
    private String instanceId;

    /**
     * 消息类型
     *
     * 0：普通消息
     * 1：分区顺序消息
     * 2：全局顺序消息
     * 4：事务消息
     * 5：定时/延时消息
     */
    private Integer orderType;

    /**
     * 备注
     */
    private String remark;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
